#include "classb.h"
#include "qdebug.h"

classB::classB(QObject *parent) :
    QThread(parent)
{
}

void classB::run()
{
   qDebug()<<"DDDDDDDDDDDD";
   while(1)
   {
       if(false==queue->isEmpty())
       {
       qDebug()<<queue->dequeue()<<data;
       }
   }

}
